package com.vsd.domain;
import javax.persistence.Entity;



import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.util.Date;


@Entity
@Table(name="f_user")
public class User {

	@Id
	private String id;
	@Column(name="username")
	private String username;
	@Column(name="password")
	private String password;
	@Column(name="role_code")
	private String roleCode;
	@Column(name="nick_name")
	private String nickName;
	@Column(name="image")
	private String image;
	@Column(name="sex")
	private Integer sex;
	@Column(name="age")
	private Integer age;
	@Column(name="birthday")
	private String birthday;
	@Column(name="sign")
	private String sign;
	@Column(name="area")
	private String area;
	@Column(name="lat")
	private String lat;
	@Column(name="lng")
	private String lng;
	@Column(name="location")
	private String location;
	@Column(name="credit")
	private Integer credit;
	@Column(name="enabled")
	private Integer enabled;
	@Column(name="banned_post")
	private Integer bannedPost;
	@Column(name="black_id")
	private String blackId;
	@Column(name="phone")
	private String phone;
	@Column(name="last_time")
	private Date lastTime;
	@Column(name="login_time")
	private Date loginTime;
	@Column(name="recommend")
	private String recommend;
	@Column(name="state")
	private Integer state;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getUsername(){
		return username;
	}
	public void setUsername(String username){
		this.username = username;
	}
	public String getPassword(){
		return password;
	}
	public void setPassword(String password){
		this.password = password;
	}
	public String getRoleCode(){
		return roleCode;
	}
	public void setRoleCode(String roleCode){
		this.roleCode = roleCode;
	}
	public String getNickName(){
		return nickName;
	}
	public void setNickName(String nickName){
		this.nickName = nickName;
	}
	public String getImage(){
		return image;
	}
	public void setImage(String image){
		this.image = image;
	}
	public Integer getSex(){
		return sex;
	}
	public void setSex(Integer sex){
		this.sex = sex;
	}
	public Integer getAge(){
		return age;
	}
	public void setAge(Integer age){
		this.age = age;
	}
	public String getBirthday(){
		return birthday;
	}
	public void setBirthday(String birthday){
		this.birthday = birthday;
	}
	public String getSign(){
		return sign;
	}
	public void setSign(String sign){
		this.sign = sign;
	}
	public String getArea(){
		return area;
	}
	public void setArea(String area){
		this.area = area;
	}
	public String getLat(){
		return lat;
	}
	public void setLat(String lat){
		this.lat = lat;
	}
	public String getLng(){
		return lng;
	}
	public void setLng(String lng){
		this.lng = lng;
	}
	public String getLocation(){
		return location;
	}
	public void setLocation(String location){
		this.location = location;
	}
	public Integer getCredit(){
		return credit;
	}
	public void setCredit(Integer credit){
		this.credit = credit;
	}
	public Integer getEnabled(){
		return enabled;
	}
	public void setEnabled(Integer enabled){
		this.enabled = enabled;
	}
	public Integer getBannedPost(){
		return bannedPost;
	}
	public void setBannedPost(Integer bannedPost){
		this.bannedPost = bannedPost;
	}
	public String getBlackId(){
		return blackId;
	}
	public void setBlackId(String blackId){
		this.blackId = blackId;
	}
	public String getPhone(){
		return phone;
	}
	public void setPhone(String phone){
		this.phone = phone;
	}
	public Date getLastTime(){
		return lastTime;
	}
	public void setLastTime(Date lastTime){
		this.lastTime = lastTime;
	}
	public Date getLoginTime(){
		return loginTime;
	}
	public void setLoginTime(Date loginTime){
		this.loginTime = loginTime;
	}
	public String getRecommend(){
		return recommend;
	}
	public void setRecommend(String recommend){
		this.recommend = recommend;
	}
	public Integer getState(){
		return state;
	}
	public void setState(Integer state){
		this.state = state;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
